home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / 3577 / INSTALL.FIL < prev    next >
Text File  |  1993-02-01  |  6KB  |  277 lines

  1. ' REDHOOK'S REVENGE! Installation Script
  2. ' Copyright 1992, ImagiSOFT, Inc.
  3. ' January 1, 1993
  4.  
  5. ' Note:  This installation script is written for THE FINISHING TOUCH, a
  6. '        professional installation program which is also an ImagiSOFT
  7. '        product.  It is distributed with Redhook's Revenge! to make
  8. '        installation easier, and to reduce support calls.
  9.  
  10. '        This script does not unpack compressed files which is a
  11. '        major feature of the program.  For more information about
  12. '        THE FINISHING TOUCH, call ImagiSOFT at (505) 275-1920.
  13.  
  14. '        You can download the shareware version from Software Creations BBS:
  15. '              (508) 368-7036  2400 - 9600 Baud, N, 8, 1  (33 lines)
  16. '        Download the file FINISH22.ZIP.
  17.  
  18. '        Our personal BBS number is (505) 275-9697  2400, N, 8, 1 (1 line).
  19.  
  20.  
  21. BACKGROUND 63
  22. TELESCOPE OFF
  23.  
  24. WINOPEN 0 2 95
  25. "             ImagiSOFT, Inc."
  26. "Where Imagination Brings Software to Life"
  27. ""
  28. ""
  29. "          Installation Program"
  30. WINUPDATE +3 +4 94
  31. "REDHOOK'S REVENGE! (SHAREWARE VERSION)"
  32.  
  33. TELESCOPE ON
  34. SHADOW ON
  35. SPACE 500
  36.  
  37. VIDEO VGA
  38. JUMP.NO NO_VGA
  39.  
  40. MEMORY 640
  41. JUMP.NO NO_MEM
  42.  
  43. :PROMPT
  44. DRIVE C 0 11 31 15 32 14 79
  45. PATH \REDHOOK 0 11 31 15 32 14 79
  46.  
  47. EXIST ~1~2\*.*
  48. JUMP.NO UNPACK
  49.  
  50. EXIST ~1~2\REDHOOK.EXE
  51. JUMP.YES UNPACK
  52.  
  53. WINOPEN 0 11 79
  54. "The directory ~1~2 already exists and contains files!"
  55. ""
  56. "   Installing Redhook's Revenge! in this directory will"
  57. ""
  58. "       in this directory prior to installing."
  59. ""
  60. "Are you SURE you want to install it here   Y or N?"
  61. WINUPDATE +45 +7 78
  62. "Y or N?"
  63. WINUPDATE +17 +4 78
  64. "DELETE ALL THE FILES"
  65. BEEP
  66. ASK +52 +7
  67. WINCLOSE
  68. JUMP.NO PROMPT
  69.  
  70. :UNPACK
  71. PROMPT OFF
  72. DELETE ~1~2\*.* 1 24 51
  73. PROMPT ON
  74. COPY ~0\REDHOOK*.* ~1~2\ 0 12 31
  75. JUMP.FAIL INSTALL_FAILURE
  76. COPY ~0\*.?L ~1~2\ 0 12 31
  77. COPY ~0\*.TXT ~1~2\ 0 12 31
  78.  
  79. ' ---------------------------------
  80. ' should we write batch file y / n?
  81. ' ---------------------------------
  82.  
  83. WINOPEN 0 11 31
  84. "Most people prefer having a batch file created which makes"
  85. "running Redhook's Revenge easier.  If you answer YES to the"
  86. "next question, we will write the file ~1\REDHOOK.BAT"
  87. "so that you can run Redhook's Revenge from the root directory"
  88. "by entering the simple command: REDHOOK."
  89. ""
  90. "Do you want us to write this batch file for you   Y or N?"
  91. WINUPDATE +40 +3 27
  92. "~1\REDHOOK.BAT"
  93. WINUPDATE +34 +5 27
  94. "REDHOOK"
  95. WINUPDATE +52 +7 30
  96. "Y or N?"
  97. ASK +59 +7
  98. WINCLOSE
  99. JUMP.NO DONE2
  100.  
  101. ' ----------------
  102. ' write batch file
  103. ' ----------------
  104.  
  105. EXIST ~1\REDHOOK.BAT
  106. JUMP.NO DOS_PROMPT
  107. PROMPT OFF
  108. DELETE ~1\REDHOOK.BAT 1 24 51
  109. PROMPT ON
  110.  
  111. :DOS_PROMPT
  112. DOS 3.3
  113. JUMP.NO OLD_DOS
  114.  
  115. FILE ~1\REDHOOK.BAT
  116. "@~1"
  117. "@cd ~2"
  118. "@redhook"
  119. "@pause"
  120. "@cls"
  121. "@cd \"
  122. "@echo "
  123. "@echo     Thanks for playing Redhook's Revenge!"
  124. "@echo To play the program again, enter the command"
  125. "@echo                   REDHOOK"
  126. "@echo          from the root directory of drive ~1."
  127. JUMP DONE
  128.  
  129. :OLD_DOS
  130. FILE ~1\REDHOOK.BAT
  131. "echo off"
  132. "~1"
  133. "cd ~2"
  134. "redhook"
  135. "pause"
  136. "cls"
  137. "cd \"
  138. "echo "
  139. "echo     Thanks for playing Redhook's Revenge!"
  140. "echo To play the program again, enter the command"
  141. "echo                   REDHOOK"
  142. "echo          from the root directory of drive ~1."
  143.  
  144.  
  145. ' -----------------------
  146. ' successfully installed!
  147. ' -----------------------
  148.  
  149. :DONE
  150.  
  151. SHADOW ON
  152. WINOPEN 0 11 31
  153. "REDHOOK'S REVENGE! HAS BEEN SUCCESSFULLY INSTALLED."
  154. "   To run it, enter the command  REDHOOK"
  155. "   from the root directory of drive ~1."
  156. ""
  157. ""
  158. ""
  159. ""
  160. "Press the [Enter] key to continue."
  161. WINUPDATE +35 +2 30
  162. "REDHOOK"
  163. WINUPDATE +5 +5 27
  164. "THANK YOU FOR CHOOSING OUR SOFTWARE!"
  165. WAIT +36 +8
  166. WINCLOSE
  167. JUMP RUN_IT
  168.  
  169. ' -------------------------------------------------
  170. ' successfully installed (version 2, no batch file)
  171. ' -------------------------------------------------
  172.  
  173. :DONE2
  174.  
  175. SHADOW ON
  176. WINOPEN 0 11 31
  177. "REDHOOK'S REVENGE! HAS BEEN SUCCESSFULLY INSTALLED."
  178. "   To run it, enter the command  HEDHOOK"
  179. "   from the ~1~2 directory."
  180. ""
  181. ""
  182. ""
  183. ""
  184. "Press the [Enter] key to continue."
  185. WINUPDATE +35 +2 30
  186. "REDHOOK"
  187. WINUPDATE +5 +5 27
  188. "THANK YOU FOR CHOOSING OUR SOFTWARE!"
  189. WAIT +36 +8
  190. WINCLOSE
  191.  
  192. :RUN_IT
  193. WINOPEN 0 11 31
  194. "Would you like to run REDHOOK'S REVENGE! Right Now   Y or N?"
  195. WINUPDATE +55 +1 30
  196. "Y or N?"
  197. ASK +62 +1
  198. JUMP.NO EXIT
  199.  
  200. EXIST ~1\REDHOOK.BAT
  201. JUMP.NO EXE_RUN
  202. RUN ~1\REDHOOK.BAT
  203. :EXE_RUN
  204. RUN ~1~2\REDHOOK.EXE
  205.  
  206. :EXIT
  207.  
  208. END
  209.  
  210. :INSTALL_FAILURE
  211.  
  212. WINOPEN 0 11 79
  213.  
  214. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION!"
  215. ""
  216. "Possible reasons:"
  217. "   -- The floppy disk was damaged during shipping."
  218. "   -- Your disk drive is out of alignment."
  219. "   -- The floppy disk was removed prior to completion."
  220. ""
  221. "Press [Enter] to remove incomplete program files."
  222.  
  223. WAIT +50 +8
  224.  
  225. PROMPT OFF
  226. DELETE ~1~2\*.* 0 0 31
  227. RD ~1~2
  228. DELETE ~1\REDHOOK.BAT 0 0 31
  229. PROMPT ON
  230.  
  231. WINCLOSE
  232. WINCLOSE
  233.  
  234. WINOPEN 0 0 31
  235.  
  236. "PARTIALLY INSTALLED FILES ARE NOW DELETED."
  237. ""
  238. "Please try to install the software again."
  239. ""
  240. "If you get this error message again, please contact us"
  241. "and we will send you a new disk."
  242. "
  243. "     ImagiSOFT, Inc."
  244. "     Computer Games Division"
  245. "     P.O. Box 13208"
  246. "     Albuquerque, NM   87192"
  247. "     (800) 767-1978"
  248. ""
  249. "Press [Enter] to Quit."
  250.  
  251. WAIT +14 +24
  252. END
  253.  
  254.  
  255. :NO_VGA
  256.  
  257. WINOPEN 0 11 79
  258.  
  259. "REDHOOK'S REVENGE! REQUIRES AN VGA (OR BETTER) MONITOR TO RUN."
  260. "Sorry, but it won't run on your computer."
  261. ""
  262. "      Press [Enter] to Quit."
  263.  
  264. WAIT +29 +4
  265.  
  266.  
  267. :NO_MEM
  268.  
  269. WINOPEN 0 11 79
  270.  
  271. "REDHOOK'S REVENGE! REQUIRES 640K MEMORY TO RUN."
  272. "Sorry, but it won't run on your computer."
  273. ""
  274. "      Press [Enter] to Quit."
  275.  
  276. WAIT +29 +4
  277.